const Layout = () => import("@/layout/index.vue");

export default {
  path: "/asset-report",
  name: "AssetReport",
  component: Layout,
  redirect: "/asset-report/asset-management-platform",
  meta: {
    icon: "ep:document",
    title: "资产上报",
    rank: 5,
  },
  children: [
    {
      path: "/asset-report/asset-management-platform",
      name: "AssetManagementPlatform",
      component: () =>
        import("@/views/asset-report/asset-management-platform/index.vue"),
      meta: {
        title: "资管平台处理",
        showLink: true,
        showParent: true,
      },
    },
    {
      path: "/asset-report/asset-management-platform/task/:taskId",
      name: "AssetTaskDetail",
      component: () =>
        import(
          "@/views/asset-report/asset-management-platform/components/taskDetail.vue"
        ),
      meta: {
        title: "任务详情",
        showLink: false,
        showParent: true,
      },
    },
  ],
} as RouteConfigsTable;
